package org.softmed.rest.admin.file;


import java.io.IOException;
import java.util.List;

public interface FileManager {

	public void createDirectory(String path) throws  Throwable;

	public void createFile(String path) throws  Throwable;

	public String readFile(String path) throws Throwable;

	public void saveToFile(String path, String text) throws  Throwable;

	public void remove(String path) throws  Throwable;

	public DirectoryContents getDirectoryContent(String path) throws  Throwable;

	public void rename(String fullPath, String newName)  throws Throwable;
	
	public void move(String oldPath, String newPath) throws Throwable;

}
